package com.vates.vsp.practico.commons;

import javax.faces.component.UIComponent;
import javax.faces.context.FacesContext;
import javax.faces.convert.Converter;

public class SelectManyCheckBoxConverter implements Converter {

	public Object getAsObject(FacesContext arg0, UIComponent arg1, String value) {
		return Integer.valueOf(value);
	}

	public String getAsString(FacesContext arg0, UIComponent arg1, Object value) {
		return value.toString();
	}

}
